package com.jinlia.show.modules.base.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jinlia.show.common.core.entity.BaseEntity;
import com.jinlia.show.modules.base.config.DynamicSchemaConfig;
import com.jinlia.show.modules.base.constant.EnableStatusEnum;
import lombok.Data;

/**
 * 商品sku(stock keeping unit)
 */
@Data
@TableName(value = "erp_goods_attr",schema = DynamicSchemaConfig.schema_system)
public class GoodsAttr extends BaseEntity {
    @TableId()
    private Long id;
    /**
     * 商品id
     */
    private Long goodsId;
    /**
     * 库存量单位名称
     */
    private String attrName;
    /**
     * 商品启用状态
     */
    private Integer enableStatus = EnableStatusEnum.ENABLE.getValue();
}
